package com.ruoyi.gzmx_tag.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采集数据点位对象 gzmx_tag
 * 
 * @author ruoyi
 * @date 2022-07-26
 */
public class Gzmx_tag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采集点位ID */
    private Long id;

    /** 点位ID（PHD） */
    @Excel(name = "点位ID", readConverterExp = "P=HD")
    private String SourceTag;

    /** 点位名称 */
    @Excel(name = "点位名称")
    private String Description;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date TimeStam;

    /** 读取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "读取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date FomatedTime;

    /** 采集值 */
    @Excel(name = "采集值")
    private Long Value;

    /** 数据等级 */
    @Excel(name = "数据等级")
    private String sj_dj;

    /** 连接方式ID */
    @Excel(name = "连接方式ID")
    private Long ljfs_id;

    /** 连接方式名称 */
    @Excel(name = "连接方式名称")
    private String ljfs_name;

    /** 连接方式类型 */
    @Excel(name = "连接方式类型")
    private String ljfs_lx;

    /** 最大值 */
    @Excel(name = "最大值")
    private Long Max_value;

    /** 最小值 */
    @Excel(name = "最小值")
    private Long Min_value;

    /** 父点位代码 */
    @Excel(name = "父点位代码")
    private Long fdwdm;

    /** 父点位名称 */
    @Excel(name = "父点位名称")
    private String fdwdm_name;

    /** 故障模型ID */
    @Excel(name = "故障模型ID")
    private Long gzmx_id;

    /** 故障模型名称 */
    @Excel(name = "故障模型名称")
    private String gzmx_name;

    /** 二级单位ID */
    @Excel(name = "二级单位ID")
    private Long ejdw_id;

    /** 二级单位名称 */
    @Excel(name = "二级单位名称")
    private String ejdw_name;

    /** 作业区ID */
    @Excel(name = "作业区ID")
    private Long zyq_id;

    /** 作业区名称 */
    @Excel(name = "作业区名称")
    private String zyq_name;

    /** 点位3级ID */
    @Excel(name = "点位3级ID")
    private Long dw_3_id;

    /** 点位3级名称 */
    @Excel(name = "点位3级名称")
    private String dw_3_name;

    /** 点位4级ID */
    @Excel(name = "点位4级ID")
    private Long dw_4_id;

    /** 点位4级名称 */
    @Excel(name = "点位4级名称")
    private String dw_4_name;

    /** 点位5级ID */
    @Excel(name = "点位5级ID")
    private Long dw_5_id;

    /** 点位5级名称 */
    @Excel(name = "点位5级名称")
    private String dw_5_name;

    /** 单位ID */
    @Excel(name = "单位ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSourceTag(String SourceTag) 
    {
        this.SourceTag = SourceTag;
    }

    public String getSourceTag() 
    {
        return SourceTag;
    }
    public void setDescription(String Description) 
    {
        this.Description = Description;
    }

    public String getDescription() 
    {
        return Description;
    }
    public void setTimeStam(Date TimeStam) 
    {
        this.TimeStam = TimeStam;
    }

    public Date getTimeStam() 
    {
        return TimeStam;
    }
    public void setFomatedTime(Date FomatedTime) 
    {
        this.FomatedTime = FomatedTime;
    }

    public Date getFomatedTime() 
    {
        return FomatedTime;
    }
    public void setValue(Long Value) 
    {
        this.Value = Value;
    }

    public Long getValue() 
    {
        return Value;
    }
    public void setSj_dj(String sj_dj) 
    {
        this.sj_dj = sj_dj;
    }

    public String getSj_dj() 
    {
        return sj_dj;
    }
    public void setLjfs_id(Long ljfs_id) 
    {
        this.ljfs_id = ljfs_id;
    }

    public Long getLjfs_id() 
    {
        return ljfs_id;
    }
    public void setLjfs_name(String ljfs_name) 
    {
        this.ljfs_name = ljfs_name;
    }

    public String getLjfs_name() 
    {
        return ljfs_name;
    }
    public void setLjfs_lx(String ljfs_lx) 
    {
        this.ljfs_lx = ljfs_lx;
    }

    public String getLjfs_lx() 
    {
        return ljfs_lx;
    }
    public void setMax_value(Long Max_value) 
    {
        this.Max_value = Max_value;
    }

    public Long getMax_value() 
    {
        return Max_value;
    }
    public void setMin_value(Long Min_value) 
    {
        this.Min_value = Min_value;
    }

    public Long getMin_value() 
    {
        return Min_value;
    }
    public void setFdwdm(Long fdwdm) 
    {
        this.fdwdm = fdwdm;
    }

    public Long getFdwdm() 
    {
        return fdwdm;
    }
    public void setFdwdm_name(String fdwdm_name) 
    {
        this.fdwdm_name = fdwdm_name;
    }

    public String getFdwdm_name() 
    {
        return fdwdm_name;
    }
    public void setGzmx_id(Long gzmx_id) 
    {
        this.gzmx_id = gzmx_id;
    }

    public Long getGzmx_id() 
    {
        return gzmx_id;
    }
    public void setGzmx_name(String gzmx_name) 
    {
        this.gzmx_name = gzmx_name;
    }

    public String getGzmx_name() 
    {
        return gzmx_name;
    }
    public void setEjdw_id(Long ejdw_id) 
    {
        this.ejdw_id = ejdw_id;
    }

    public Long getEjdw_id() 
    {
        return ejdw_id;
    }
    public void setEjdw_name(String ejdw_name) 
    {
        this.ejdw_name = ejdw_name;
    }

    public String getEjdw_name() 
    {
        return ejdw_name;
    }
    public void setZyq_id(Long zyq_id) 
    {
        this.zyq_id = zyq_id;
    }

    public Long getZyq_id() 
    {
        return zyq_id;
    }
    public void setZyq_name(String zyq_name) 
    {
        this.zyq_name = zyq_name;
    }

    public String getZyq_name() 
    {
        return zyq_name;
    }
    public void setDw_3_id(Long dw_3_id) 
    {
        this.dw_3_id = dw_3_id;
    }

    public Long getDw_3_id() 
    {
        return dw_3_id;
    }
    public void setDw_3_name(String dw_3_name) 
    {
        this.dw_3_name = dw_3_name;
    }

    public String getDw_3_name() 
    {
        return dw_3_name;
    }
    public void setDw_4_id(Long dw_4_id) 
    {
        this.dw_4_id = dw_4_id;
    }

    public Long getDw_4_id() 
    {
        return dw_4_id;
    }
    public void setDw_4_name(String dw_4_name) 
    {
        this.dw_4_name = dw_4_name;
    }

    public String getDw_4_name() 
    {
        return dw_4_name;
    }
    public void setDw_5_id(Long dw_5_id) 
    {
        this.dw_5_id = dw_5_id;
    }

    public Long getDw_5_id() 
    {
        return dw_5_id;
    }
    public void setDw_5_name(String dw_5_name) 
    {
        this.dw_5_name = dw_5_name;
    }

    public String getDw_5_name() 
    {
        return dw_5_name;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("SourceTag", getSourceTag())
            .append("Description", getDescription())
            .append("TimeStam", getTimeStam())
            .append("FomatedTime", getFomatedTime())
            .append("Value", getValue())
            .append("sj_dj", getSj_dj())
            .append("ljfs_id", getLjfs_id())
            .append("ljfs_name", getLjfs_name())
            .append("ljfs_lx", getLjfs_lx())
            .append("Max_value", getMax_value())
            .append("Min_value", getMin_value())
            .append("fdwdm", getFdwdm())
            .append("fdwdm_name", getFdwdm_name())
            .append("gzmx_id", getGzmx_id())
            .append("gzmx_name", getGzmx_name())
            .append("ejdw_id", getEjdw_id())
            .append("ejdw_name", getEjdw_name())
            .append("zyq_id", getZyq_id())
            .append("zyq_name", getZyq_name())
            .append("dw_3_id", getDw_3_id())
            .append("dw_3_name", getDw_3_name())
            .append("dw_4_id", getDw_4_id())
            .append("dw_4_name", getDw_4_name())
            .append("dw_5_id", getDw_5_id())
            .append("dw_5_name", getDw_5_name())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
